# -*- coding: utf-8 -*-

import datetime
import pyperclip


def getNowDay():
    t = datetime.datetime.now()
    t_str = t.strftime("%Y-%m-%d")
    addToClipboard( t_str )


def getNowTime():
    t = datetime.datetime.now()
    t_str = t.strftime("%Y-%m-%d %H:%M")+ ":00"
    addToClipboard( t_str )


def addToClipboard( string ):
    print(string)
    pyperclip.copy( string )


if __name__ == '__main__':
    # getNowDay()
    getNowTime()